﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RepositoryFramework.Validators
{
	/// <summary>
	/// Interface <see cref="IValidationError"/> declare validation error
	/// </summary>
	public interface IValidationError
	{

		/// <summary>
		/// Gets the message.
		/// </summary>
		/// <value>
		/// The message.
		/// </value>
		string Message { get; }

		/// <summary>
		/// Gets the name of the property.
		/// </summary>
		/// <value>
		/// The name of the property.
		/// </value>
		string PropertyName { get; }
	}
}
